
using Core.SimpleTemp.Common;
using Core.SimpleTemp.Entitys;
using Core.Toolkit.Core.Application;
using System;
using System.Collections.Generic;

namespace Core.SimpleTemp.Application
{
    [CreateMap(typeof(JG_STOPObserveMain))]
    public class JG_STOPObserveMainDto : Dto
    {
        ///// <summary>
        ///// 测试
        ///// </summary>
        //public string Test { get; set; }

        /// <summary>
        /// 所有皆安全
        /// </summary>
        public bool? evaluationc { get; set; }
        public string evaluationv { get; set; }
        public string evaluationText { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public Guid? department { get; set; }

        [ConcurrentKeyToValue(SysDepartmentAppService.DIC_CATEGORY_CODE, nameof(department))]
        public string departmentText { get; set; }

        /// <summary>
        /// 观察人
        /// </summary>
        public Guid? observePeople { get; set; }

        /// <summary>
        /// 观察人字面值
        /// </summary>
        [ConcurrentKeyToValue("9008", nameof(observePeople))]
        public string observePeopleText { get; set; }

        public string observaDateText { get; set; }

        /// <summary>
        /// 观察日期
        /// </summary>
        public DateTime? observaDate { get; set; }

        /// <summary>
        /// 观察时间
        /// </summary>
        public String observation { get; set; }

        /// <summary>
        /// 班次
        /// </summary>
        public String shifts { get; set; }

        /// <summary>
        /// 班次字面值
        /// </summary>
        [KeyToValue("n51", nameof(shifts))]
        public string shiftsText { get; set; }

        /// <summary>
        /// 区域
        /// </summary>
        public Guid? situation { get; set; }

        /// <summary>
        /// 区域字面值
        /// </summary>
        [ConcurrentKeyToValue("97", nameof(situation))]
        public string situationText { get; set; }

        /// <summary>
        /// 安全行为
        /// </summary>
        public String encourage { get; set; }

        /// <summary>
        /// 不安全行为
        /// </summary>
        public String correct { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public String State { get; set; }

        /// <summary>
        /// 隶属工厂
        /// </summary>
        public Guid? CreateFactory { get; set; }

        /// <summary>
        /// 添加部门
        /// </summary>
        public Guid? CreateDept { get; set; }

        /// <summary>
        /// 更改部门
        /// </summary>
        public Guid? UpdateDept { get; set; }

        /// <summary>
        /// 人员反映备注
        /// </summary>
        public String ryfy_remark { get; set; }
        /// <summary>
        /// 个人防护装备备注
        /// </summary>
        public String grfhzb_remark { get; set; }
        /// <summary>
        /// 人员的位子备注
        /// </summary>
        public String rydwz_remark { get; set; }
        /// <summary>
        /// 工具及设备备注
        /// </summary>
        public String gjjsb_remark { get; set; }
        /// <summary>
        /// 程序备注
        /// </summary>
        public String cx_remark { get; set; }
        /// <summary>
        /// 秩序标准秩序标准
        /// </summary>
        public String zxbz_remark { get; set; }

        /// <summary>
        /// 人员反映其他是否安全
        /// </summary>
        public bool? ryfy_IsSafety { get; set; }
        /// <summary>
        /// 个人防护装备是否安全
        /// </summary>
        public bool? grfhzb_IsSafety { get; set; }
        /// <summary>
        /// 人员的位置是否安全
        /// </summary>
        public bool? rydwz_IsSafety { get; set; }
        /// <summary>
        /// 工具及设备是否安全
        /// </summary>
        public bool? gjjsb_IsSafety { get; set; }
        /// <summary>
        /// 程序是否安全
        /// </summary>
        public bool? cx_IsSafety { get; set; }

        /// <summary>
        /// 秩序标准
        /// </summary>
        public bool? zxbz_IsSafety { get; set; }


        //public List<JG_STOPObserveDetailDto> JG_STOPObserveDetail { get; set; }



        public List<JG_STOPObserveDetailDto> ryfyCheckList { get; set; }
        public JG_STOPObserveDetailDto ryfyInput1 { get; set; }
        public JG_STOPObserveDetailDto ryfyInput2 { get; set; }


        public List<JG_STOPObserveDetailDto> grfhzbCheckList { get; set; }
        public JG_STOPObserveDetailDto grfhzbInput1 { get; set; }
        public JG_STOPObserveDetailDto grfhzbInput2 { get; set; }

        public List<JG_STOPObserveDetailDto> rydwzCheckList { get; set; }
        public JG_STOPObserveDetailDto rydwzInput1 { get; set; }
        public JG_STOPObserveDetailDto rydwzInput2 { get; set; }

        public List<JG_STOPObserveDetailDto> gjjsbCheckList { get; set; }
        public JG_STOPObserveDetailDto gjjsbInput1 { get; set; }

        public List<JG_STOPObserveDetailDto> cxCheckList { get; set; }
        public JG_STOPObserveDetailDto cxInput1 { get; set; }

        public List<JG_STOPObserveDetailDto> zxbzCheckList { get; set; }
        public JG_STOPObserveDetailDto zxbzInput1 { get; set; }

        //public string Test { get; set; }






        /// <summary>
        /// 观察日期开始
        /// </summary>
        public DateTime? ObservationtimeStart { get; set; }

        /// <summary>
        /// 观察日期结束
        /// </summary>
        public DateTime? ObservationtimeEnd { get; set; }

    }
}
